package edu.hqu.deepspace.dao;

import edu.hqu.deepspace.pojo.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductMapper {

    List<Product> queryAllProduct();

    int addProduct(Product product);

    int deleteProductById(int id);

    int updateProduct(Product product);

    Product queryProductById(@Param("pid") int id);


}
